<?php

return [

    'fetch' => PDO::FETCH_ASSOC,

    'default' => 'qcb',

    'connections' => [

        'qcb' => [
            'driver'    => 'mysql',
            'read' => [
                'host'      => '127.0.0.1',
                'port'      => '3306',
                'username'  => 'root',
                'password'  => 'Wincal1986',
            ],
            'write' => [
                'host'      => '127.0.0.1',
                'port'      => '3306',
                'username'  => 'root',
                'password'  => 'Wincal1986',
            ],
            'database'  => 'demopp_scy',
            'charset'   => 'utf8',
            'collation' => 'utf8_unicode_ci',
            'prefix'    => '',
            'timezone'  => '+08:00',
            'strict'    => false,
            'options'   => [
                PDO::ATTR_TIMEOUT => 3,
            ],
        ],
    ],
];
